package com.beta.pay.yeepay.core;

/**
 * Created by vector on 2016/11/30.
 */
public class YeepayBuilder {

    private String apiKey;

    private String apiSecret;

//    /**
//     * 交易手续费
//     */
//    private BigDecimal feeRate;

    public YeepayBuilder apiKey(String apiKey) {
        this.apiKey = apiKey;
        return this;
    }

    public YeepayBuilder apiSecret(String apiSecret) {
        this.apiSecret = apiSecret;
        return this;
    }

//    public YeepayBuilder feeRate(BigDecimal feeRate) {
//        this.feeRate = feeRate;
//        return this;
//    }

    public Yeepay build() {
        return new Yeepay(apiKey, apiSecret).init();
    }

}
